home *** CD-ROM | disk | FTP | other *** search
-
- { Unidad para cambiar el puntero del ratón }
-
- unit mcursor;
-
- interface
-
- const
- flecha : array [0..31] of word = {ejemplo de cursor del raton}
- ($9FFF, $8Fff, $87ff, $83FF, $81FF, $80FF, $807F, $803F,
- $801F, $800F, $80Ff, $887F, $987F, $FC3F, $FC3f, $fC3F,
- $0000, $2000, $3000, $3800, $3c00, $3E00, $3F00, $3F80,
- $3Fc0, $3E00, $3600, $2300, $0300, $0180, $0180, $0000);
-
- Procedure SetMouseCursor (var p);
-
-
- implementation
-
- procedure SetMouseCursor (var p);
- var segmento, desplazamiento: word;
- begin
- segmento :=seg(p);
- desplazamiento :=ofs(p);
- asm
- mov es,segmento
- mov dx,desplazamiento
- mov ax,0009h
- mov bx,0
- mov cx,0
- int 33h
- end;
- end;
-
-
- end.
-